#!/usr/bin/gnuplot

#set terminal post eps 24
set terminal post eps color 24 

# map task time break-down
set output "map.eps"
set xlabel "Time (s)"
set ylabel "Task ID"

plot "map1.dat" with xerrorbars, "map2.dat" with xerrorbars, "map3.dat" with xerrorbars

# reduce task time break-down
set output "reduce.eps"
set xlabel "Time (s)"
set ylabel "Task ID"

plot "reduce1.dat" with xerrorbars, "reduce2.dat" with xerrorbars, "reduce3.dat" with xerrorbars, "reduce4.dat" with xerrorbars, "reduce5.dat" with xerrorbars

# map task time break-down

# reduce task time break-down
set output "MapReduce.eps"
set xlabel "Time (s)"
set ylabel "Task ID"

plot "reduce1.dat" with xerrorbars, "reduce2.dat" with xerro, "reduce3.dat" with xerrorbars, "reduce4.dat" with xerrorbars, "reduce5.dat" with xerrorbars, "map1.dat" with xerrorbars, "map2.dat" with xerro, "map3.dat" with xerrorbars
